Opium: An Extendable Trace Analyzer for Prolog
نویسنده
چکیده
Traces of program executions are a helpful source of information for program debugging. They, however, give a picture of program executions at such a low level that users often have diiculties to interpret the information. Opium, our extendable trace analyzer, is connected to a \standard" Prolog tracer. Opium is programmable and extendable. It provides a trace query language and abstract views of executions. Users can therefore examine program executions at the levels of abstraction which suit them. Opium has shown its capabilities to build abstract tracers and automated debugging facilities. This article describes in depth the trace query mechanism , from the model to its implementation. Characteristic examples are detailed. Extensions written so far on top of the trace query mechanism are listed. Two recent extensions are presented: the abstract tracers for the LO (Linear Objects) and the CHR (Constraint Handling Rules) languages. These two extensions were speciied and implemented within a few days. They show how to use Opium for real applications.
منابع مشابه
Automated Debugging Extensions of the Opium Trace Analyser
Traces of program executions tell how programs behave in given cases. They are a helpful source of information for automated debugging. Opium is an automated trace analyser for Prolog programs. It is programmable and extendable. It provides a trace query language and abstract views of executions as a basis for automated debugging. Opium has shown its capabilities to build abstract tracers and a...
متن کاملAbstract Views of Prolog Executions in Opium
Views of Prolog Executions in Opium Mireille Ducassé, IRISA/INSA N ̊ 3531 Octobre 1998
متن کاملSpecifying Prolog Trace Models with a Continuation Semantics
Byrd's box model is a ne grained Prolog execution model that can be the basis of high level debugging tools. In this article, we provide a formal speciication of Byrd's box model, based on an already existing operational and denotational continuation semantics for Pro-log with cut. We show how this speciication can be extended to specify richer Prolog trace models. To be able to experiment with...
متن کاملThe NRL Protocol Analyzer: An Overview
The NRL Protocol Analyzer is a prototype special-purpose veri cation tool, written in Prolog, that has been developed for the analysis of cryptographic protocols that are used to authenticate principals and services and distribute keys in a network. In this paper we give an overview of how the Analyzer works and describe its achievements so far. We also show how our use of the Prolog language b...
متن کاملObservational semantics of the Prolog Resolution Box Model
This paper specifies an observational semantics and gives an original presentation of the Byrd box model. The approach accounts for the semantics of Prolog tracers independently of a particular Prolog implementation. Prolog traces are, in general, considered as rather obscure and difficult to use. The proposed formal presentation of its trace constitutes a simple and pedagogical approach for te...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Log. Program.
دوره 39 شماره
صفحات -
تاریخ انتشار 1999